<template>
  <div @click="router.push('/index2')">{{ $t("m.lang") }}</div>
</template>

<script lang="ts" setup>
import { userMode } from "@/store/user";
import { getCurrentInstance } from "vue";
import { useRouter } from "vue-router";
const { proxy } = getCurrentInstance() as any;
const router = useRouter();
const users = userMode();
users.editToken("我是token");
console.log(users.token);
console.log(proxy.$post);
</script>

<style>
</style>